-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add writeBinary to ostream for PCDWriter #5598
Conversation
Add method writeBinary to serialize point clouds in memory uncompressed.
Hi, thanks for the PR. I think, in the interest of keeping the existing |
This reverts commit 55f3f80.
Add method writeBinary to serialize point clouds in memory uncompressed.
Yes, I see your point and adapted the code accordingly. Regarding testing: I copied and adapted the test I guess I need to dig a bit deeper here to understand what's going on. Maybe you have some ideas? |
I guess following change in Maybe you can have a look if I'm on the right track here? You probably don't want to have such changes in this PR, but rather separated? |
Fix the sequence order in POINT_CLOUD_REGISTER macros to match structs
Interesting, thanks for investigating. To my knowledge, this was never noticed before. Intuitively, I would agree that the fields should be ordered to match the order in the memory, but I would like to think about whether correcting it for the three point types can break something. |
This reverts commit b522e74.
Sort cloud.fields by their offset value to generate correct fake fields
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thank you!
Add method writeBinary to serialize point clouds in memory uncompressed.
Solves #5539